//
//  SearchViewController.h
//  RouteSearcher
//
//  Created by wenqingzhou on 2/11/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NewDatePickerViewController.h"
#import "SearchModel.h"
#import "RouteRequestResultModel.h"
#import "ChooseAddressViewController.h"

@interface SearchViewController : UIViewController <UITextFieldDelegate,DatePickerViewDelegate,ChooseAddressViewDelegate>{
	UITextField *textOfFrom;
	UITextField *textOfTo;
	UITextField *textOfTime;
	UISegmentedControl *segmentOfType;
	searchModel *mySearchModel;
}
-(IBAction)newSearch:(UIButton *)sender;
-(IBAction)useMyPostitionAsFrom:(UIButton *)sender;
-(IBAction)useMyPostitionAsTo:(UIButton *)sender;
@property (retain) IBOutlet UITextField *textOfTime,*textOfTo,*textOfFrom;
@property (retain) IBOutlet UISegmentedControl *segmentOfType;
@property (retain) searchModel *mySearchModel;

@end
